#ifndef MATHUTILS_H_
#define MATHUTILS_H_

#define PI 3.1415926535

namespace util {

bool doubleEquals(double x, double y);

bool doubleEquals(double x, double y, double delta);

bool doubleLess(double x, double y, bool orEquals);

bool doubleGreater(double x, double y, bool orEquals);

bool doubleIsBetween(double d, double x, double y, bool orEquals);

int doubleToInt(double d);

}

#endif /* MATHUTILS_H_ */
